from django.contrib.comments.views.comments import post_free_comment
from django.http import HttpResponseRedirect

def my_post_free_comment(request):
    if request.POST.has_key('url'):
            url = request.POST['url']
    else:
            url = '/comments/posted.html'
    response = post_free_comment(request)
    return HttpResponseRedirect(url)
                                
